<?php

/**
 * @filename System.php 
 * @encoding UTF-8 
 * @author 徐小军
 * @link http://www.okd100.com
 * @copyright 南昌欧科达科技有效公司 
 * @datetime 2016-8-2  14:52:48
 * @version 1.0
 * @Description 配置项验证
 */

namespace app\admin\validate;

use think\Validate;

class System extends Validate {

    protected $rule = [
        'business_recommendPrice|推荐奖金额' => 'require|number',
        'business_lowMoney|最低提现金额' => 'require|number',
        'business_lowMoneyMultiple|最低提现倍数' => 'require|number',
      
        'business_bank|支持银行' => 'require',
        'system_pagesize|每页显示多少条' => 'require|number',
    ];
    protected $scene = [
        'edit1' => ['business_lowMoney', 'business_lowMoneyMultiple', 'business_userrank', 'business_bank'],
        'edit2' => ['system_pagesize']
    ];

}
